﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

using TinyLib.Input;
using TinyLib.Audio;

namespace TinyLib.Screen
{
    public abstract class Screen : DrawableGameComponent
    {
        private SpriteBatch spritebatch = null;
        protected ScreenManager screenManager = null;

      //  public AudioManager audioManager;

        public string nextScreen = "";

        public bool changeState = false;

        public SpriteBatch Spritebatch
        {
            get { return spritebatch; }
        }

        public Screen(ScreenManager screenManager, SpriteBatch spritebatch, Game game)
            : base(game)
        {
            this.screenManager = screenManager;
            this.spritebatch = spritebatch;
        }

        public abstract void Shutdown();
        public abstract string GetNextScreen();
        public abstract void HandleInput(ref InputManager inputManager);
    }
}
